package com.langll.ai.neo4j.node;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

@Data
@Node("Product")
@NoArgsConstructor
@AllArgsConstructor
public class Product {
    @Id
    private Long id;

    @Property
    private String name;

    @Property
    private String masterId;
}
